home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / Car / AppDelegate.h next >
Encoding:
Text File  |  1992-06-25  |  871 b   |  53 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5. #import <rpcsvc/bootparam.h>
  6.  
  7. @interface AppDelegate:Object
  8. {
  9.     char carFilename[MAX_PATH_LEN];
  10.     char roadFilename[MAX_PATH_LEN];
  11.     char cycleFilename[MAX_PATH_LEN];
  12.     BOOL openFromWorkspace;
  13.     id newGraph;
  14.     id runButton;
  15.     id reportText;
  16.     id reportScrollView;
  17. }
  18.  
  19. // Override methods
  20. - init;
  21.  
  22. // Application Delegate methods.
  23. - appDidInit:sender;
  24. - (BOOL)appAcceptsAnotherFile:sender;
  25. - (int)app:sender openFile:(const char *)filename type:(const char *)aType;
  26.  
  27. // Public methods
  28. - (char *)openFileType:(char *)type;
  29. - openCarFile:sender;
  30. - saveCarFile:sender;
  31. - saveCarFileAs:sender;
  32. - newGraph;
  33. - simulationEnded;
  34.  
  35. // Private methods
  36. - (BOOL)loadCarFile:(const char *)filename;
  37. - (BOOL)loadRoadFile:(const char *)filename;
  38. - (BOOL)loadCycleFile:(const char *)filename;
  39.  
  40. @end
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.